home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / windows / lpdos.zip / LPDOS.TXT < prev    next >
Text File  |  1992-01-13  |  11KB  |  283 lines

  1. L/P Dos Version 1.0b Beta Release.
  2.  
  3.     L/P Dos is another attempt at making DOS CommandLiners feel more comfortable in the Windows 3.0 enviroment. This version is a Beta release of a future ShareWare product, it is free for distribution so long as all the files in the archive are kept intact and not modified in any way, shape or form. I am releasing this version for the sole purpose of testing, so please give it all you've got and try your best to crash it. (I may regret that statement!) My address is listed at the bottom of this introduction and I will gladly welcome all reports on L/P Dos, I want to make this something everyone NEEDS, not just puts on their system as another pretty. In return for helping me with L/P Dos I will register those people who contact me with reports of bugs or suggestions that will better the program, for absolutely nothing. Also, if someone wants to volunteer to help me out with the documentation, I will make it worth the effort.
  4.     To give you some background about L/P Dos... L/P Dos was developed using Microsoft's Visual Basic. For the most part all the standard DOS commands are supported and work the way they do from the command line except as noted below. Batch files are supported and must be named with an ".LPB" extension. Some examples are included in the Archive. The Batch file LPBATCH.LPB, contains working examples of a good many of the commands, try running it for a good demo. To stop any command that has scrolling output press the ESC key. You can start L/P Dos with a Batch file name on the command line and L/P Dos will run the Batch file before returning control to you. As an alternative, if there is a Batch file named LPDOS.LPB in the startup directory L/P Dos will immediately run the file upon startup. Some other points of interest are; Don't name a Batch file with the same name as a command, wierd things will happen (I'm still working on that one...) The command syntax is pretty unforgiving, but for the most part the interpreter in L/P Dos will catch a lot of the syntactical errors. For some reason with Visual Basic I can't always detect keyboard input from certain applications to reset the Saver so it won't activate if you're typing at the keyboard (Windows Write is a good example, I'm pretty sure it has to do with not using the Caret correctly, any suggestions are welcome.), so if the saver starts up when you are not expecting it set the saver delay time to a longer period of time. Mouse input always resets the Saver time. Make sure the .DLL files contained in the archive are in a directory in your DOS search Path, don't use L/P Dos to copy them there. (I tried on a friends machine...Windows wigs out big-time.. Although it is interesting to see a system error dialog scroll.. :D )
  5.     Starting applications is pretty straight-forward, just type the name of the application. If you type a full file specification, Drive:Path\FileName.Extension, L/P Dos will attempt to find the extension in WIN.INI, if it does the Application associated with the file will be started and the filename you typed on the command line passed to the application as part of its command line. Both DOS and Windows applications can be started with L/P Dos. While I'm on the subject, anything L/P Dos doesn't recognize as an internal command, Alias or Batch file (*.LPB) it will attempt to run, so the most often seen error dialog will probably be "FILE NOT FOUND."
  6.     Aliases may be something new to some users, basically they are just a way of implementing synonyms for lenghtly commands or a way to give a more meaningful name to a command. Sometime in the near future, deleting aliases will be implemented. For now you'll have to manually edit WIN.INI to remove any aliases, REMEMBER to backup your WIN.INI beforehand, also any changes made to WIN.INI will probably not be recognized until you exit Windows and restart it.
  7.     Don't know what else to tell you, more can be learned from playing with it than reading about it, so enjoy!
  8.  
  9.     I can be contacted at:
  10.  
  11.     Craig Morrison
  12.     3036 Chaffee Ct.
  13.     Lafayette, IN 47905-2814
  14.  
  15. LEGAL STUFF
  16.  
  17. THERE IS NO WARRANTY EITHER EXPRESSED OR IMPLIED IN CONJUNCTION WITH THE USE OF THIS SOFTWARE PRODUCT, THEREFORE YOU ARE ASSUMING ALL LIABILITY FROM THE USE OF THIS SOFTWARE PRODUCT. USE IT AT YOUR OWN RISK. I, THE AUTHOR, HAVE MADE EVERY EFFORT TO PRODUCE A WORKING SOFTWARE PRODUCT, THIS SOFTWARE PRODUCT TO THE BEST OF MY KNOWLEDGE AND TESTING WORKS AS DOCUMENTED BELOW. I, THE AUTHOR, ASSUME NO RESPONSIBILITY FOR ANY DAMAGE EITHER CONSEQUENTIAL OR INCONSEQUENTIAL, WHETHER CAUSED OR ALLEDGED TO BE CAUSED FROM THE USE OF THIS SOFTWARE PRODUCT. I, THE AUTHOR, MAKE NO CLAIMS AS TO THE USEABILITY OR SUITABILITY FOR A PARTICULAR PURPOSE OR FITNESS TO A TASK OF THIS SOFTWARE PRODUCT.
  18.  
  19. (Getting off soapbox... I hate that part!)
  20.  
  21.  
  22. L/P Dos Window Command List
  23.  
  24. File Commands.
  25.  
  26. EDIT
  27. Syntax:    EDIT filename
  28.  
  29. Purpose:    Starts the Windows Notepad application with the specified file. If the file doesn't exist a message box will appear asking if the file should be created.
  30.  
  31. COPY
  32. Syntax:    COPY SourceFileSpecification DestinationPath
  33.  
  34. Purpose:    Copies files from the Source FileSpec to the Destination Path. Please note that the DestinationPath should not contain a filename. WildCards are supported in the SourceFileSpecification.
  35.  
  36. REN or RENAME
  37. Syntax:    RENAME OldName NewName
  38.  
  39. Purpose:    Renames a file.
  40.  
  41. DEL or ERASE
  42. Syntax:    DEL FileSpecification
  43.  
  44. Purpose:    Deletes files. WIldCards are supported.
  45.  
  46. TYPE
  47. Syntax: TYPE FileSpecification
  48.  
  49. Purpose:    Types or Displays ASCII based files to the console. WIldCards are supported for showing multiple files.
  50.  
  51. CD or CHDIR
  52. Syntax:    CD DirectoryPath
  53.  
  54. Purpose: Changes the default directory.
  55.  
  56. MD or MKDIR
  57. Syntax:    MD DirectoryPath
  58.  
  59. Purpose:    Creates a directory.
  60.  
  61. RD or RMDIR
  62. Syntax:    RD DirectoryPath
  63.  
  64. Purpose:    Removes a directory.
  65.  
  66. DIRS
  67. Syntax:    DIRS DirectoryPath
  68.  
  69. Purpose:    Displays a list of directories.
  70.  
  71. DIR
  72. Syntax:    DIR FileSpecification
  73.  
  74. Purpose:    Displays a list of files. WildCards are supported.
  75.  
  76. Window Commands.
  77.  
  78. SHUTDOWN
  79. Syntax:    SHUTDOWN
  80.  
  81. Purpose:    Performs an immediate exit from Windows providing all running applications agree to terminate.
  82.  
  83. GRABWIN
  84. Syntax:    GRABWIN
  85.  
  86. Purpose:    Restores the input focus to the L/P Dos Window, primarily for use in batch file processing.
  87.  
  88. PM
  89. Syntax:    PM
  90.  
  91. Purpose:    Restores the Windows Program Manager.
  92.  
  93. DOS
  94. Syntax:    DOS
  95.  
  96. Purpose:    Start a session based on the DOS COMSPEC Enviroment variable.
  97.  
  98. EXIT
  99. Syntax:    EXIT
  100.  
  101. Purpose:    Terminates the current L/P Dos session.
  102.  
  103. BEEP
  104. Syntax:    BEEP
  105.  
  106. Purpose:    Beeps the console speaker.
  107.  
  108. MAX
  109. Syntax:    MAX
  110.  
  111. Purpose:    Maximizes the L/P Dos Window.
  112.  
  113. MIN
  114. Syntax:    MIN
  115.  
  116. Purpose:    Minimizes the L/P Dos Window.
  117.  
  118. NORM
  119. Syntax:    NORM
  120.  
  121. Purpose:    Restores the L/P Dos Window from either a minimized or maximized state.
  122.  
  123. SAVER
  124. Syntax:    SAVER
  125.  
  126. Purpose:    Starts one of two built in screen savers.
  127.  
  128. Syntax:    SAVER ?
  129.  
  130. Purpose:    Displays the current inactivity delay before the saver starts.
  131.  
  132. Syntax:    SAVER DelayTime
  133.  
  134. Purpose:    Sets the inactivity delay time before saver activation. DelayTime should be the number of seconds of inactivity before activation. SAVER 0 disables the screen saver.
  135.  
  136. Display Commands.
  137.  
  138. COLOR
  139. Syntax:    COLOR ForegroundColor BackgroundColor
  140.  
  141. Purpose:    Changes the display colors for the L/P Dos Window. Color values range from 0 to 15.
  142.  
  143. CLS
  144. Syntax:    CLS
  145.  
  146. Purpose:    Clears the L/P Dos window console display.
  147.  
  148. ECHO
  149. Syntax:    ECHO Message
  150.  
  151. Purpose:    Displays the supplied message on the console.
  152.  
  153. PAUSE
  154. Syntax:    PAUSE [[Message][|Title]]
  155.  
  156. Purpose:    Displays a pause dialog box. If the Title parameter is omitted, "L/P Dos" is displayed in the caption bar of the dialog box. If Message and Title are omitted, the default message "Click OK to continue." is displayed. Message must be present if Title is used.
  157.  
  158. YESNO
  159. Syntax:    YESNO Message|Title|Command
  160.  
  161. Purpose:    Displays a dialog box with Yes and No command buttons. All parameters must be present. Command is any valid L/P Dos command or any valid filename. If the user chooses Yes the command is performed, otherwise the L/P Dos prompt returns, or the next line in a batch file is executed.
  162.  
  163. MSGBOX
  164. Syntax:    MSGBOX Message|Buttons|Title|%%Var
  165.  
  166. Purpose: Displays a custom dialog box.
  167.  
  168. INPUT
  169. Syntax:    INPUT Message|Title|%%Var
  170.  
  171. Purpose:    Displays an input box to get input from the user.
  172.  
  173. Help Window Commands.
  174.  
  175. HELP
  176. Syntax:    HELP
  177.  
  178. Purpose:    Displays the Help Window.
  179.  
  180. -HELP
  181. Syntax:    -HELP
  182.  
  183. Purpose:    Hides the Help Window.
  184.  
  185. Picture Commands.
  186.  
  187. SPIC
  188. Syntax:    SPIC Filename
  189.  
  190. Purpose:    Displays a bitmap in a seperate display window.
  191.  
  192. HPIC
  193. Syntax:    HPIC
  194.  
  195. Purpose:    Hides the display window for a picture.
  196.  
  197. PICSIZE
  198. Syntax:    PICSIZE Height Width
  199.  
  200. Purpose:    Resizes the display window for a picture.
  201.  
  202. PICPOS
  203. Syntax:    PICPOS Left Top
  204.  
  205. Purpose:    Positions the display window for a picture on the desktop.
  206.  
  207. Odds and Ends.
  208.  
  209. FOR
  210. Syntax:    FOR %%Var (set) Command [%%Var]
  211.  
  212. Purpose:    Provides multiple executions of a command based on the contents of (set). Note the variable names must have two "%" percent signs in front of them, unless you want normal variable substitution to be performed.
  213.  
  214. SET
  215. Syntax:    Set Var String
  216.  
  217. Purpose:    Sets the global variable to String.
  218.  
  219. CLEAR
  220. Syntax:    CLEAR
  221.  
  222. Purpose:    Clears all global variables.
  223.  
  224. DATE
  225. Syntax:    DATE
  226.  
  227. Purpose:    Displays the current date on the console.
  228.  
  229. Syntax:    DATE MM-DD-[YY]YY
  230.  
  231. Purpose:    Sets the system date.
  232.  
  233. TIME
  234. Syntax:    TIME
  235.  
  236. Purpose:    Displays the current time on the console.
  237.  
  238. Syntax:    TIME HH:MM[:SS]
  239.  
  240. Purpose:    Sets the system time.
  241.  
  242. ?ALIAS
  243. Syntax:    ?ALIAS
  244.  
  245. Purpose:    Lists all defined aliases on the console.
  246.  
  247. ALIAS
  248. Syntax:    ALIAS Name=Definition
  249.  
  250. Purpose:    Defines an alias command and stores it in WIN.INI. Alias command names can be used to rename commands or give a shorter name to a lengthly program starting procedure.
  251.  
  252. VER
  253. Syntax:    VER
  254.  
  255. Purpose:    Displays the current L/P Dos version and Windows information on the console.
  256.  
  257. SHOW
  258. Syntax:    SHOW ApplicationCaptionText
  259.  
  260. Purpose:    Sets the input focus to a running Windows application, please note that the ApplicationCaptionText must EXACTLY match the text in a windows' Caption (Title) bar.
  261.  
  262. Batch File Commands.
  263.  
  264. IF EXISTS
  265. Syntax:    IF EXISTS Filename Command
  266.  
  267. Purpose: Performs Command if Filename exists.
  268.  
  269. IF NOT EXISTS
  270. Syntax:    IF NOT EXISTS Filename Command
  271.  
  272. Purpose:    Performs Command if Filename does not exist.
  273.  
  274. IF
  275. Syntax:    IF ^expression^^expression^ Command
  276.  
  277. Purpose:    Performs an equality test of the expressions enclosed in Carets "^". If the expressions match, Command is performed. Please note that you can place an equals "=" sign between the expressions for clarity if you wish. (I.E., IF ^expression^=^expression^ Command)
  278.  
  279. GOTO Label
  280. Syntax:    GOTO LabelName
  281.  
  282. Purpose:    Redirects execution in a batch file. LabelName must be defined elsewhere in the batch file. Labels are defined by placing them on a line by themselves and beginning them with a colon ":".
  283.